import { Input } from "antd";

export const FormComponent = {
    "input" : Input
}

export const  resultComponent = ( type: string ) =>{
    const resultComponent = (FormComponent as any)[type]
    return resultComponent || null
}